<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html class="" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<script type="text/javascript">
//to track page load times in GA
var pageBegin = new Date();
var pageStart = pageBegin.getTime();
</script>
<script type="text/javascript" src="_admin/jquery_002.js"></script>
<script type="text/javascript" src="_admin/jquery-ui.js"></script>
<link type="text/css" href="_admin/jquery-ui.css" rel="stylesheet">
<link type="text/css" href="_admin/jquery-ui_002.css" rel="stylesheet">
<script type="text/javascript" src="_admin/jquery_004.js"></script>
<script type="text/javascript" src="_admin/swfobject.js"></script>
<script type="text/javascript" src="_admin/jquery_003.js"></script>
<title>phu's Awesome Store : Options Management</title>
<script type="text/javascript" src="_admin/codepress.js"></script>
<script type="text/javascript">
/*function toggleIcon(obj){
    if(obj){
        switch(obj.className)
        {
        case "slider_header open":
            obj.className="slider_header closed";
            break;
        case "slider_header closed":
            obj.className="slider_header open";
            break;    
        }
    }
}
function toggleAltIcon(obj){
    if(obj){
        switch(obj.getAttribute("class"))
        {
        case "invisible_slider_header open":
            obj.setAttribute("class","invisible_slider_header closed");
            break;
        case "invisible_slider_header closed":
            obj.setAttribute("class","invisible_slider_header open");
            break;    
        }
    }
}*/
function toggleIcon(obj,arg_storestate){
    if(obj) {
        switch(obj.className) {
        case "sliderheadercell open":
            obj.className="sliderheadercell closed";
            if(arg_storestate==true)
                SetCookie("ExpandedSections",'Y',1 * c_years,obj.id);
            break;
        case "sliderheadercell closed":
            obj.className="sliderheadercell open";
            if(arg_storestate==true)
                SetCookie("ExpandedSections",'',1 * c_years,obj.id);
            break;    
        }
    }
}

// Start jQuery toggle, Fall 10
$(document).ready(function() {
    init65chrome(":[id$='_detail_page_section_1']");
});


</script>
<script type="text/javascript" src="_admin/expanders.js"></script>
<script type="text/javascript">
    function ShowSave() {
        document.getElementById('floatsave').style.display = "block";
        //only show this iframe if in ie6
        if(browser_agent.indexOf('msie 6.')>0)
            document.getElementById('iframe_floatsave').style.display = "block";
    }
</script>
<script type="text/javascript">
function icg_rollup_grid_pricediff(KitID, FormElement) {

    mfa(FormElement);

    var value = FormElement.value;
    var i = 1;
    while (element = v$('icg-hidden-' + KitID + '-' + i)) {
        element.value = value;
        v$('icg-disabled-' + KitID + '-' + i).value = value;
        i++;
    }
}

    var bResizingWindow = false;
    var bWindowWidth = 0;
    var bCounter = 0;
    if (window.AttachEvent) {
        window.AttachEvent('onresize', window_resize);    
    } else if (window.addEventListener) {
        window.addEventListener('resize', window_resize, false);    
    }

    function set_body_width() {
    }

    function window_resize() {
        if (bWindowWidth != document.documentElement.clientWidth) {
            bWindowWidth = document.documentElement.clientWidth;
            reinitialize_codepress();
        }
    }

    function change_focus() {
        //alert(location.href.toLowerCase().indexOf("table=querybank"));
        if (typeof document.EditForm == 'object' && location.href.toLowerCase().indexOf("table=querybank") != -1) {
            var objForm = document.EditForm;
            var formLength = objForm.length;
            var i = 0;
            var objType = "";
            var j = 0;
            
            for (i = 0; i < formLength; i++) {
                objType = objForm[i].type;
                if ((objType == "text" || objType == "select-one") && j > 0) {
                    objForm[i].focus();
                    objForm[i].blur();
                    break;
                }
                j++;                
            }
        }
    }

    function click_save_changes() {
        if (document.EditForm && document.EditForm.objCodePressField) {
            var arrCodePressField = document.EditForm.objCodePressField;
            var i = 0;
            if (arrCodePressField.length > 1) {
                for (i = 0; i < arrCodePressField.length; i++) {
                    eval("document.EditForm." + document.EditForm.objCodePressField[i].value + ".value = objCodePress_" + document.EditForm.objCodePressField[i].value + ".getCode();");
                }
            } else {
                eval("document.EditForm." + document.EditForm.objCodePressField.value + ".value = objCodePress_" + document.EditForm.objCodePressField.value + ".getCode();");    
            }
        }
        if(document.EditForm.Ships_By_Itself){
            if(document.EditForm.Ships_By_Itself.checked==false){
                
                document.EditForm.Package_Type.selectedIndex=0;
                document.EditForm.Length.value = "";
                document.EditForm.Width.value = "";
                document.EditForm.Height.value = "";
                document.EditForm.Additional_Handling_Indicator.checked=false;
                document.EditForm.Oversized.checked=false;
                                                
            }    
        }
        return true;
    }
    
    var bReinitialize = false;
    function reinitialize_codepress() {
        //if (bPlusTextarea == true) {bPlusTextarea = false; return;}
        //if (bMinusTextarea == true) {bMinusTextarea = false; return;}
        
        if (document.EditForm && document.EditForm.objCodePressField) {
            var arrCodePressField = document.EditForm.objCodePressField;
            var i = 0;
            var arrLength = 0;
            var objHeight = 0;
            var objWidth = 0;
            
            if (arrCodePressField.length) {
                arrLength = arrCodePressField.length;
            }
        
            if (arrLength > 1) {
                for (i = 0; i < arrLength; i++) {    
                    eval("objCodePress = objCodePress_" + document.EditForm.objCodePressField[i].value + ";");
                    objCodePress.textarea.style.display = 'block';
                    objCodePress.style.height = objCodePress.textarea.offsetHeight +'px';
                    objWidth = parseInt(objCodePress.textarea.offsetWidth);
                    if (objWidth > 2) {
                        objWidth = objWidth - 2;
                    }
                    //objCodePress.style.width = objWidth +'px';
                    objCodePress.style.width = '99%';
                    objCodePress.style.border = "0px";
                    objCodePress.initialize_events();
                    objCodePress.view_iframe();
                    
                    if (is_ie == false) {
                        objCodePress.contentWindow.document.designMode = 'on';
                    }        
                    eval("objCodePress_" + document.EditForm.objCodePressField[i].value + ".textarea.style.display = 'none';");
                }
            } else {
                eval("objCodePress = objCodePress_" + document.EditForm.objCodePressField.value + ";");
                objCodePress.textarea.style.display = 'block';
                objCodePress.style.height = objCodePress.textarea.offsetHeight +'px';
                objWidth = parseInt(objCodePress.textarea.offsetWidth);
                if (objWidth > 2) {
                    objWidth = objWidth - 2;
                }
                //objCodePress.style.width = objWidth +'px';
                objCodePress.style.width = '99%';
                objCodePress.initialize_events();
                objCodePress.view_iframe();
                eval("objCodePress_" + document.EditForm.objCodePressField.value + ".textarea.style.display = 'none';");
            }
            
        }
    }
    
    var bPlusTextarea = false;
    function click_plus_area(codepress_name) {
        var new_height;
        bPlusTextarea = true;
        eval("var objCodePress = " + codepress_name + ";");
        new_height = parseInt(objCodePress.style.height.toString().replace('px','')) + 40 + 'px';
        objCodePress.style.height = new_height;
        objCodePress.editor.body.style.minHeight = parseInt(new_height.toString().replace('px','')) - 2 + 'px';        
        SetCookieWithKey('TextBoxSize','Options_' + codepress_name.replace('objCodePress_','') + '', new_height, 365);
    }

    var bMinusTextarea = false;
    function click_minus_area(codepress_name) {
        var new_height;
        bMinusTextarea = true;
        eval("var objCodePress = " + codepress_name + ";");
        new_height = parseInt(objCodePress.style.height.toString().replace('px','')) - 40 + 'px';
        objCodePress.style.height = new_height;
        objCodePress.editor.body.style.minHeight = parseInt(new_height.toString().replace('px','')) - 2 + 'px';        
        SetCookieWithKey('TextBoxSize','Options_' + codepress_name.replace('objCodePress_','') + '', new_height, 365);
    }
    
    function click_plus_regular_area(textarea_name) {
        eval("var objTextarea = document.getElementById('" + textarea_name + "');");
        var text_height = objTextarea.style.height;
        if (text_height == "") {text_height = objTextarea.clientHeight + 'px';}
        var new_height = parseInt(text_height.toString().replace('px','')) + 40 + 'px';
        objTextarea.style.height = new_height;
        SetCookieWithKey('TextBoxSize','Options_' + textarea_name + '', new_height, 365);
    }

    function click_minus_regular_area(textarea_name) {
        eval("var objTextarea = document.getElementById('" + textarea_name + "');");
        var text_height = objTextarea.style.height;
        if (text_height == "") {text_height = objTextarea.clientHeight + 'px';}
        var new_height = parseInt(text_height.toString().replace('px','')) - 40 + 'px';
        objTextarea.style.height = new_height;
        SetCookieWithKey('TextBoxSize','Options_' + textarea_name + '', new_height, 365);
    }
    
    function SetCookieWithKey(name, key, value, duration) {
        var str_cookie = GetCookie(name);
        var arr_cookie;
        var len_cookie;
        var new_cookie = "";
        var i = 0;
        var arr_key_value = "";
        var str_key = "";
        var str_value = "";
        var b_update = false;
        
        if (vTrim(str_cookie) == "") {
            new_cookie = key + "=" + value;
            createCookie(name, new_cookie, duration);        
        } else {
            str_cookie = str_cookie + "&";
            arr_cookie = str_cookie.split("&");
            len_cookie = arr_cookie.length;
            
            for (i=0;i<len_cookie;i++) {
                if (vTrim(arr_cookie[i]) != "") {
                    arr_key_value = arr_cookie[i].split("=");
                    str_key = arr_key_value[0];
                    str_value = arr_key_value[1];
                    
                    if (vTrim(str_key) == vTrim(key)) {
                        str_value = value;                    
                        b_update = true;
                    }

                    if (vTrim(new_cookie) == "") {
                        new_cookie = str_key + "=" + str_value;
                    } else {
                        new_cookie = new_cookie + "&" + str_key + "=" + str_value;
                    }    
                }
            }
            
            if (b_update == false) {
                new_cookie = new_cookie + "&" + key + "=" + value;
            }
            
            //alert(new_cookie);
            createCookie(name, new_cookie, duration);        
        }
    }
    
    function textCounter(field,counter,maxlimit,linecounter) {
        // text width//
        var fieldWidth =  parseInt(field.offsetWidth);
        var charcnt = field.value.length;        
    
        // trim the extra text
        if (charcnt > maxlimit) { 
            field.value = field.value.substring(0, maxlimit);
        } else { 
        // progress bar percentage
        var percentage = parseInt(100 - (( maxlimit - charcnt) * 100)/maxlimit) ;
        document.getElementById(counter).style.width = parseInt((fieldWidth*percentage)/100)+"px";
        document.getElementById(counter).innerHTML=""+percentage+"%"
        // color correction on style from CCFFF -> CC0000
        setcolor(document.getElementById(counter),percentage,"background-color");
        }
    }
    
    function textCounterFF(fieldWidth,codePressName,counter,maxlimit) {
        eval("var objCodePress = " + codePressName + ";");
        objCodePress.textarea.value = objCodePress.getCode();
        textCounterWithFieldWidth(fieldWidth,codePressName,objCodePress.textarea, counter, maxlimit);
    }
        
    function textCounterWithFieldWidth(fieldWidth,codePressName,field,counter,maxlimit,linecounter) {
        // text width//
        var charcnt = field.value.length;  
        // trim the extra text
        if (charcnt > maxlimit) { 
            field.value = field.value.substring(0, maxlimit);
            eval("" + codePressName + ".setCode(field.value);");
        } else { 
        // progress bar percentage
        var percentage = parseInt(100 - (( maxlimit - charcnt) * 100)/maxlimit) ;
        document.getElementById(counter).style.width = parseInt((fieldWidth*percentage)/100)+"px";
        document.getElementById(counter).innerHTML=""+percentage+"%"
        // color correction on style from CCFFF -> CC0000
        setcolor(document.getElementById(counter),percentage,"background-color");
        }
    }
    function setcolor(obj,percentage,prop){
        obj.style[prop] = "rgb(80%,"+(100-percentage)+"%,"+(100-percentage)+"%)";
    }
    

    function reinitialize_codepress_plus_minus() {

        if (document.EditForm && document.EditForm.objCodePressField) {
            var arrCodePressField = document.EditForm.objCodePressField;
            var i = 0;
            var arrLength = 0;
            var objHeight = 0;
            var objWidth = 0;
            var new_height;
            var codepress_name;
            //var objCodePress;
            
            if (arrCodePressField.length) {
                arrLength = arrCodePressField.length;
            }
        
            if (arrLength > 1) {
                for (i = 0; i < arrLength; i++) {    
                    //eval("objCodePress = objCodePress_" + document.EditForm.objCodePressField[i].value + ";");
                    codepress_name = 'objCodePress_' + document.EditForm.objCodePressField[i].value;
                    //eval("objCodePress = " + codepress_name + ";");
                    //alert(codepress_name);

                    new_height = GetCookie('Options.' + codepress_name);
                    /*
                    if (vTrim(new_height != "") {
                        objCodePress.style.height = new_height;
                    }    
                    */
                }
            } else {
                eval("objCodePress = objCodePress_" + document.EditForm.objCodePressField.value + ";");
            }
        }
    }    
    
    
function ShowEditLink() {
        var dropdown = document.getElementById('HowToGetSalePrice');
        var len = dropdown.length;
        var i = 0;
        var chosen = null;

        for (i = 0; i < len; i++) {
                if (dropdown[i].selected) {
                        chosen = dropdown[i].value
                }
        }

        if (chosen == "addtocart") {
                document.getElementById('addtocartEditLink').style.display = "";
                document.getElementById('emailpriceEditLink').style.display = "none";
        }
        else if (chosen == "email") {
                document.getElementById('addtocartEditLink').style.display = "none";
                document.getElementById('emailpriceEditLink').style.display = "";
        }
        else {
                document.getElementById('addtocartEditLink').style.display = "none";
                document.getElementById('emailpriceEditLink').style.display = "none";
        }
}

function update_friendly_date_display () {
    return false; // required to have this function when using calendar js
}


function createCookie(name,value,days) {
    if (days) {
        var date = new Date();
        date.setTime(date.getTime()+(days*24*60*60*1000));
        var expires = "; expires="+date.toGMTString();
    }
    else var expires = "";
    document.cookie = name+"="+value+expires+"; path=/";
}
function eraseCookie(name) {
    createCookie(name,"",-1);
}

var span_name_to_put_http_response;
function handle_useHttpResponse() {
  if (http.readyState == 4) {
    if (http.status == 200) {
        // Return the value and continue the function part2...
        document.getElementById(span_name_to_put_http_response).innerHTML = (http.responseText);
        isWorking = false;
    } else {
        alert("There was a problem retrieving the XML data:\n" +
        http.statusText);
    }
  }
}
function useHTTP(arg_URL,arg_span) {
  if (!isWorking && http) {
        if (vTrim(document.getElementById(arg_span).innerHTML) == '') {
            var zipValue = ""; //document.getElementById("zip").value;
            http.open("GET", arg_URL, true);
            http.onreadystatechange = handle_useHttpResponse;
            isWorking = true;
            span_name_to_put_http_response = arg_span;
            document.getElementById(span_name_to_put_http_response).innerHTML = ('<br /><br /><img src="/a/a/i/loading.gif" /><br /><br /><br />');
            if (window.XMLHttpRequest) {
                    http.send(null); // mozilla + safari
            } else if (window.ActiveXObject) {
                http.send(""); // ie
            }
        }
  }
}

// Compare two options within a list by VALUES
function compareOptionValues(a, b) { 
  // Radix 10: for numeric values
  // Radix 36: for alphanumeric values
  var sA = parseInt( a.value, 36 );  
  var sB = parseInt( b.value, 36 );  
  return sA - sB;
}

// Compare two options within a list by TEXT
function compareOptionText(a, b) { 
  // Radix 10: for numeric values
  // Radix 36: for alphanumeric values
  var sA = parseInt( a.text, 36 );  
  var sB = parseInt( b.text, 36 );  
  return sA - sB;
}

// Dual list move function
function moveDualList( srcList, destList, moveAll, arg_addremove, arg_hiddenfieldname) {
  // Do nothing if nothing is selected
  if ((srcList.selectedIndex == -1) && (moveAll == false)) {
    return;
  }

//  newDestList = new Array( destList.options.length );
  var len = 0;
//  for( len = 0; len < destList.options.length; len++ ) 
//  {
//    if ( destList.options[ len ] != null )
//    {
//      newDestList[ len ] = new Option( destList.options[ len ].text, destList.options[ len ].value, destList.options[ len ].defaultSelected, destList.options[ len ].selected );
//    }
//  }

  var hidden_selectbox;
  for( var i = 0; i < srcList.options.length; i++ ) 
  { 
    if ( srcList.options[i] != null && ( srcList.options[i].selected == true || moveAll ) )
    {
       // Statements to perform if option is selected

       // Adjust hidden form field
       if (arg_addremove == "remove") {
           hidden_selectbox = document.getElementById(arg_hiddenfieldname);
           if (hidden_selectbox.value != "") {
               hidden_selectbox.value = "," + hidden_selectbox.value + ",";
               hidden_selectbox.value = hidden_selectbox.value.replace(","+srcList.options[i].value+",",",");
               hidden_selectbox.value = hidden_selectbox.value.replace(",,",",");
               hidden_selectbox.value = hidden_selectbox.value.substring(1,String(hidden_selectbox.value).length-1);
               if (hidden_selectbox.value == ",") {
                    hidden_selectbox.value = "";
               }
           }
       } else {
           hidden_selectbox = document.getElementById(arg_hiddenfieldname);
           if (hidden_selectbox.value != "") {
               hidden_selectbox.value = hidden_selectbox.value + "," + srcList.options[i].value;
           } else {
               hidden_selectbox.value = srcList.options[i].value;
           }
       }

       // Incorporate into new list
//       newDestList[ len ] = new Option( srcList.options[i].text, srcList.options[i].value, srcList.options[i].defaultSelected, srcList.options[i].selected );
       destList.options[destList.length] = new Option( srcList.options[i].text, srcList.options[i].value, srcList.options[i].defaultSelected, srcList.options[i].selected );
       len++;
    }
  }

  // Sort out the new destination list
  //newDestList.sort( compareOptionValues );   // BY VALUES
  //newDestList.sort( compareOptionText );   // BY TEXT

/*
  // Populate the destination with the items from the new array
  for ( var j = 0; j < newDestList.length; j++ ) 
  {
    if ( newDestList[ j ] != null )
    {
      destList.options[ j ] = newDestList[ j ];
    }
  }
*/

  // Erase source list selected elements
  for( var i = srcList.options.length - 1; i >= 0; i-- ) 
  { 
    if ( srcList.options[i] != null && ( srcList.options[i].selected == true || moveAll ) )
    {
       // Erase Source
       //srcList.options[i].value = "";
       //srcList.options[i].text  = "";
       srcList.options[i]       = null;
    }
  }

} // End of moveDualList()
</script>
<script type="text/javascript">
var g_CustomerID = 1;
</script>
<script type="text/javascript" src="_admin/qew.js"></script>
<script type="text/javascript" src="_admin/overlays.js"></script>
<script type="text/javascript" src="_admin/javascripts_002.js"></script>
<script type="text/javascript" src="_admin/javascripts.js"></script>
<script type="text/javascript" src="_admin/sendAjax.js"></script>
<script type="text/javascript" src="_admin/vaccordion.js"></script>
<script type="text/javascript" src="_admin/vfade.js"></script>
<script type="text/javascript" src="_admin/scripts.js"></script>
<script type="text/javascript" src="_admin/jquery.js"></script>
<link href="_admin/reset.css" rel="stylesheet" type="text/css">
<link href="_admin/main.css" rel="stylesheet" type="text/css">
<link href="_admin/headernav.css" rel="stylesheet" type="text/css">
<link href="_admin/elementstyles.css" rel="stylesheet" type="text/css">
<link href="_admin/fixed.css" rel="stylesheet" type="text/css">
<link href="_admin/footer.css" rel="stylesheet" type="text/css">
<link href="_admin/instanthelp.css" rel="stylesheet" type="text/css">
<link type="text/css" rel="stylesheet" href="_admin/infobox.css">
<link href="_admin/crm_previews.css" rel="stylesheet" type="text/css">
<link href="_admin/overlays.css" rel="stylesheet" type="text/css">
<link href="_admin/tables.css" rel="stylesheet" type="text/css">
<link href="_admin/buttons.css" rel="stylesheet" type="text/css">
<link href="_admin/styles.css" rel="stylesheet" type="text/css">
<link href="_admin/adminheader.css" rel="stylesheet" type="text/css">
<!--[if IE 7]>

<style type="text/css">    

    .SubMenuWrapper ul{

        margin-left:0;

    }  

    .SubMenuWrapper li{

        margin-left:0;

    }

    #AdminHeaderTools div.SubMenuWrapper {

        margin-left:-70px;

        margin-top:15px;

    }

    .imghelp_overlay{

        margin-left:-20px;

        margin-top:0;

    }

</style>

<![endif]-->
<script type="text/javascript">

$(document).ready(function() {
    $('.jq_datepicker').each(
        function(i) {
            $(this).datepicker({
                dateFormat: 'mm/dd/yy',
                altField: $(this).prev(),
                altFormat: 'mm/dd/yy',
                showOn: 'both',
                buttonImage: '/a/datepicker/media/cal.gif',
                buttonImageOnly: true,
                buttonText: 'Calendar',
                currentText: 'Clear',
                showButtonPanel: true
            });
    });
    $(".ui-datepicker-current").live("click", function (){
        var onclickString = ""
        onclickString = new String($(this).attr("onclick"));
        onclickString = onclickString.substring(onclickString.indexOf("\"") + 1, onclickString.lastIndexOf("\""));
        $(onclickString).val("").prev().val("");        
    });       
    $("#modaldialog").dialog({
        dialogClass: 'a65chromeModal',
        modal: true,
        resizable: false,
        draggable: false,
        autoOpen: false,
        show: {effect: "fade", duration: 'fast'},
        hide: {effect: "fade", duration: 'fast'}
    });
    $(".ui-dialog").prepend("<div class=\"modalDialog_TopLeft\"></div>")
        .append("<div class=\"modalDialog_BottomLeft\"></div>")
        .append("<div class=\"modalDialog_Bottom\"></div>")
        .append("<div class=\"modalDialog_BottomRight\"></div>");   
    $("#modaldialog").wrap("<div class=\"modalDialog_Left\"></div>");   
    $("#modaldialog").wrap("<div class=\"modalDialog_Right\"></div>"); 
    $("#modaldialog").wrap("<div class=\"modalDialog_IEFix\"></div>");
    $("#AdminMenuMain > li, #AdminHeaderTools > ul > li").hover(
        function () {
            /*Handles mouse over*/
            $(this).addClass("hover");

        },
        function () {
            /*Handles mouse leave*/
            $(this).removeClass("hover");

        }
    );
    $(".SubMenuWrapper li").not(".endspacer").mouseover(function () {
        $(".SubMenuWrapper li.hover").removeClass("hover");
        $(this).addClass("hover");
    }).disableSelection();
    $("#AdminMenuMain").disableSelection();
    $("#AdminMenu").disableSelection();
    $("#AdminMenuMain li").disableSelection();
            
    $("admStoreFrontLink a").attr("href", adm_config_fullstoreurl);
    //v$("admCompanyNameLegal").innerHTML = adm_config_companynamelegal + " Admin Area" ;
    //$("#admLoggedInAsLink").setAttribute("href", "AdminDetails_Generic.asp?Table=Customers&ID=" + adm_loggedinas_customerid);
    //$("#admLoggedInAsLink").setAttribute("title", "CustomerID#" + adm_loggedinas_customerid);
    $("#admLoggedInAsLink").text(adm_loggedinas_fullname);

    if(adm_config_companynamelegal == '') {
        $("#BreadCrumbCompanyName").text("My Store");
    } else {
        $("#BreadCrumbCompanyName").text(adm_config_companynamelegal);
    }
    //v$("storeversion").innerHTML="(v" + adm_storeversion + ")";
            
    $('#adm_publish_link').parent().parent().hide();
    if (typeof (adm_need_to_publish) == 'boolean') {
        $('#adm_publish_link').parent().parent().show();
    }
    if (typeof (adm_volusion_link) == 'string') {
        if (v$('adm_volusion_link'))
            v$('adm_volusion_link').innerHTML = adm_volusion_link;
    }
    /*Select the tab*/
    if (adm_TableName != "Dashboard"){
    $("#MainNav_" + adm_tab_selected).addClass("selected");
    }
    var linkName = adm_tab_selected.replace(" ", "") + "_" + adm_subtab_selected.replace(" ", "").replace(" ", "").replace("/", "");
    var link = $("#" + linkName);    
    $("#BreadCrumbLink").attr("href", link.attr("href"));
});

</script>
<!--[if lte IE 6]>

<script type="text/javascript" src="/a/a/j/qew_ie6.js"></script>

<link href="/a/a/c/elementstyles_ie6.css" rel="stylesheet" type="text/css" />

<link rel="stylesheet" type="text/css" href="/a/a/c/fixed_ie6.css" />

<link rel="stylesheet" type="text/css" href="/a/a/c/overlays_ie6.css" />

<![endif]-->
<!--[if lte IE 8]>

<link rel="stylesheet" type="text/css" href="/a/a/c/tables_ie.css" />

<![endif]-->
<script type="text/javascript">
//---------------------------------------------------
//Preload images script...
var myimages=new Array()
function preloadimages(){
for (i=0;i<preloadimages.arguments.length;i++){
myimages[i]=new Image()
myimages[i].src=preloadimages.arguments[i]
} }

var adm_storeversion = '6.5 Legacy Template System';var adm_TableName = 'Options';var adm_config_fullstoreurl = '/';var adm_config_companynamelegal = '';var adm_loggedinas_customerid = '1';var adm_loggedinas_fullname = 'whoareyou';var adm_tab_selected = 'Inventory';var adm_subtab_selected = 'Options';var adm_show_notifications = true;var adm_publish_link = true;var adm_fade_error_messages = true;var adm_Store_Folder_Name = '/';
    
        
function ClearHelpTabs(arg_section)
{
    if (v$("span_" + arg_section).style.display == "none") {
        if (arg_section != 'hide') {
            v$("span_" + arg_section).style.display = "block";
            /*v$("iframe_" + arg_section).style.display = "block";*/
            v$("fillscreen").style["display"]='block';
            
            /*v$("fillscreen_Iframe").style.width = vPlacement(v$("iframe_VolusionInstantHelp")).width + "px";
            v$("fillscreen_Iframe").style.height = (vPlacement(v$("iframe_VolusionInstantHelp")).height-80) + "px";
            */
            var thisModal = jQuery("#span_" + arg_section);

            thisModal.width(jQuery(window).width() - 200).height(jQuery(window).height()- 200);
            
            var modalContent = thisModal.find(".content_fixed");
            //if (modalContent.height > thisModal.height() - 150){
                thisModal.find(".content_fixed").height(thisModal.height() - 150);
            //}
            
            var xLeft = (jQuery(window).width() - thisModal.width()) / 2 + jQuery(window).scrollLeft();
            var xTop = (jQuery(window).height() - thisModal.height()) / 2 + jQuery(window).scrollTop();
            //thisModal.css("top", xLeft + "px").css("left", xTop + "px");
            thisModal.css("top", "0px").css("left", "20px");
            
        }
    }
    else {
        v$("span_" + arg_section).style.display = "none";
        v$("iframe_" + arg_section).style.display = "none";
        v$("fillscreen").style["display"]='none';
        
    }
}
function ClearHelp_createCookie(name,value,days)
{
    if (days)
    {
        var date = new Date();
        date.setTime(date.getTime()+(days*24*60*60*1000));
        var expires = "; expires="+date.toGMTString();
    }
    else var expires = "";
    document.cookie = name+"="+value+expires+"; path="+adm_Store_Folder_Name;
}

</script>
</head>
<body class="">
<div id="wrapper">
  <div id="content">
    <div id="adminheader">
      <div id="bg_top_left">
        <div id="bg_top_right">
          <div id="top_content">
            <h1 id="home_link"> <a href="" title="Succeed online with Volusion's shopping cart software" class="volusion_logo_link"> <img src="_admin/volusion_logo.png" alt="Volusion - shopping cart software" title="Succeed online with Volusion's shopping cart software" width="236" height="64"></a></h1>
            <div id="mainmenu">
              <ul style="-moz-user-select: none;" unselectable="on" id="AdminMenuMain">
                <li style="-moz-user-select: none;" unselectable="on" id="MainNav_Orders"><span class="MainMenuText">Orders</span>
                  <div class="SubMenuWrapper">
                    <ul>
                      <li style="-moz-user-select: none;" unselectable="on" id="Orders_SubNav_Overview"><a id="Orders_ProcessOrders" href="" title="">List</a></li>
                      <li style="-moz-user-select: none;" unselectable="on" id="Orders_SubNav_PhoneOrders"><a id="Orders_PhoneOrderPage" href="/admin/phone_order.asp" title="">Book Ticket</a></li>
                      <li style="-moz-user-select: none;" unselectable="on" id="Orders_SubNav_RecurringBilling"><a id="Orders_RecurringBilling" href="" title="">Book Cinema Box</a></li>
                    </ul>
                  </div>
                </li>
                <li style="-moz-user-select: none;" unselectable="on" id="MainNav_Customers"><span class="MainMenuText">Show Times</span>
                  <div class="SubMenuWrapper">
                    <ul>
                      <li style="-moz-user-select: none;" unselectable="on" id="Customers_SubNav_CRM"><a id="Customers_CRMSystem" href="" title="">Show Times</a></li>
                      <li style="-moz-user-select: none;" unselectable="on" class="endspacer"></li>
                    </ul>
                  </div>
                </li>
                <li class="selected" style="-moz-user-select: none;" unselectable="on" id="MainNav_Inventory"><span class="MainMenuText">Films</span>
                  <div class="SubMenuWrapper">
                    <ul>
                      <li style="-moz-user-select: none;" unselectable="on" id="Inventory_SubNav_Cat"><a id="Inventory_Categories" href="film-type-list.htm" title="">Film Type</a></li>
                      <li style="-moz-user-select: none;" unselectable="on" id="Inventory_SubNav_Products"><a id="Inventory_Products" href="film-list.htm" title="">Films</a></li>
                      <li style="-moz-user-select: none;" unselectable="on" id="Inventory_SubNav_Products"><a id="Inventory_Products" href="" title="">Comment</a></li>
                      <li style="-moz-user-select: none;" unselectable="on" class="endspacer"></li>
                    </ul>
                  </div>
                </li>
                <li style="-moz-user-select: none;" unselectable="on" id="MainNav_Design"><span class="MainMenuText">Cinema </span>
                  <div class="SubMenuWrapper">
                    <ul>
                      <li style="-moz-user-select: none;" unselectable="on" id="Design_SubNav_Template"><a id="Design_ChooseTemplate" href="box-list.htm" title="">Boxes</a></li>
                      <li style="-moz-user-select: none;" unselectable="on" id="Design_SubNav_Logos"><a id="Design_Logos" href="" title="">Maps</a></li>
                      <li style="-moz-user-select: none;" unselectable="on" id="Design_SubNav_SiteContent"><a id="Design_SiteContent" href="" title="">Seat Type</a></li>
                      <li style="-moz-user-select: none;" unselectable="on" class="endspacer"></li>
                    </ul>
                  </div>
                </li>
                <li style="-moz-user-select: none;" unselectable="on" id="MainNav_Reports"><span class="MainMenuText">Configuration</span>
                  <div class="SubMenuWrapper">
                    <ul>
                      <li style="-moz-user-select: none;" unselectable="on" id="Reports_SubNav_Report"><a id="Reports_Reporting" href="Users-list.htm" title="">Users</a></li>
                      <li style="-moz-user-select: none;" unselectable="on" id="Reports_SubNav_Report"><a id="Reports_Reporting" href="" title="">Params</a></li>
                      <li style="-moz-user-select: none;" unselectable="on" class="endspacer"></li>
                    </ul>
                  </div>
                </li>
              </ul>
              <div class="clear"> </div>
              <div id="AdminHeaderTools">
                <ul>
                  <li id="ToolsNav_Name" class="firstchild"><span class="ToolText orange" id="admLoggedInAsLink">whoareyou</span></li>
                  <li id="ToolsNav_Logout"><span class="ToolText"><a href="/login.asp?logout=yes" onclick="exitTracker._trackEvent('Click','Admin Logout',1);">Log Out</a></span></li>
                </ul>
              </div>
              <div class="clear"> </div>
              <div id="AdminBreadCrumbs"> <span class="orange shadow" id="BreadCrumbCompanyName">My Store</span> <span>&gt;</span> <a href="" class="shadow"> Home</a> <span>&gt;</span> <a id="BreadCrumbLink" href="" class="shadow">Inventory : Options</a> </div>
            </div>
          </div>
        </div>
      </div>
      <style>
                    #contentarea, #adminheader
                    {
                        min-width:1090px;
                    }
                    </style>
    </div>
    <!--[if lte IE 6]>

<script type="text/javascript" src="/a/j/fixed_ie6.js"></script>

<![endif]-->
    <div id="contentarea">
      <div id="bg_content_left">
        <div id="bg_content_right">
          <div id="wrapper_content">
            <div id="helpWrapper">
              <div><a class="helplink" onclick="ClearHelpTabs('VolusionInstantHelp');if (typeof(nonPostingItemsTracker) == 'object') nonPostingItemsTracker._trackEvent('Click - link','OPTIONS : View Page Help',1);KBTracker._trackEvent('Click - link','Options',1);" style="margin-right: 3px;">Help</a>&nbsp;<img onclick="ClearHelpTabs('VolusionInstantHelp');if (typeof(nonPostingItemsTracker) == 'object') nonPostingItemsTracker._trackEvent('Click - link','OPTIONS : View Page Help',1);KBTracker._trackEvent('Click - link','Options',1);" src="_admin/help_icon_big.gif" style="cursor: pointer; margin-top: -2px; margin-right: 15px;"></div>
            </div>
            <script type="text/javascript">
var browser_agent = navigator.userAgent.toLowerCase();
function browserSupportMessage() {
    if (browser_agent.indexOf('msie 8.') >= 0) return;
    if (browser_agent.indexOf('msie 7.') >= 0) return;
    if (browser_agent.indexOf('firefox') >= 0) return;
    document.write('<table width="100%" border="0" cellspacing="0" cellpadding="5"><tr><td width="100%" bgcolor="#ffffcc"><font color="#000000">You are using an unsupported browser. This software is meant to be used with Firefox 3 or greater, Internet Explorer 7 or Internet Explorer 8.</font></td></tr></table>');
}
function successPublish() {
    $("#adm_publish_link").parent().parent().hide();
}
browserSupportMessage();
</script>
            <script type="text/javascript">
    function processDeleteButton() {
        $("#RegularDeleteDiv").show();
        toggleOverlay('confirm_delete', true);
    }
</script>
            <form method="POST" name="EditForm2" onsubmit="return click_save_changes()" action="">
              <input name="NOSAVE___Form_Submission_Token" id="NOSAVE___Form_Submission_Token" value="1F03F61150DF4B798B4A8CA4E9716552" type="hidden">
              <input name="NOSAVE___Is_Quick_Edit_Window" value="N" type="hidden">
              <div style="display: none;">
                <table border="0" cellpadding="10" cellspacing="10">
                  <tbody>
                    <tr>
                      <td><b><font color="#cc0000" size="3"> Are you sure you want to delete
                        this?</font></b><br>
                        <br>
                        <input name="Unique_Edit_SQL_String" value="SELECT * FROM Options WHERE ID = 95" type="hidden">
                        <input name="Unique_Delete_Table" value="Options" type="hidden">
                        <input name="Unique_Delete_ID" value="95" type="hidden">
                        <div style="display: none;">
                          <input name="submit.suredelete" id="submit.suredelete" value="Yes, Delete" onclick="SetCookie('vsettings','',1*c_years,'PreviewPanelHeight');" type="submit">
                          <input name="submit.cancel" id="submit.cancel" value="No, Cancel" type="submit">
                        </div>
                        <div style="width: 230px;">
                          <div style="float: right; padding-top: 5px;"><a class="link_cancel" href="javascript:void(0);" onclick="v$('submit.cancel').click();return false;">No, Cancel</a></div>
                          <div style="float: left;"> <span class="a65chrome_btn_small save"> <a href="javascript:void(0);" onclick="v$('submit.suredelete').click();return false;"><span>Yes, Delete</span></a></span></div>
                          <br>
                        </div>
                        <br>
                        <br>
                        <br>
                        <font color="#666666"> [ID: 95] </font> </td>
                    </tr>
                  </tbody>
                </table>
              </div>
            </form>
            <div id="pagelabel"> <span id="print_pagename">Add New Type Of Seat</span> </div>
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tbody>
              </tbody>
            </table>
            <form method="POST" name="EditForm" onsubmit="return click_save_changes()" action="">
              <input name="NOSAVE___Form_Submission_Token" id="NOSAVE___Form_Submission_Token" value="1F03F61150DF4B798B4A8CA4E9716552" type="hidden">
              <input name="NOSAVE___Is_Quick_Edit_Window" value="N" type="hidden">
              <input id="NOSAVE___AdvancedTabSelected" name="NOSAVE___AdvancedTabSelected" value="" type="hidden">
              <div class="a65chromepanel a65noncollapse" id="a65chromepanel_1">
                <div class="a65chromeheader" id="a65chromeheader_1">
                  <div class="a65chromeheader_right">
                    <div class="a65chromeheader_left"><span class="a65chromeheadertext expandedtext">Details</span><span class="a65chromesubtext"></span></div>
                  </div>
                </div>
                <!--div class="verticalspacer"></div-->
                <div class="a65chromecontent" id="Options_detail_page_section_1">
                  <table style="border-collapse: collapse;" class="collapsable_container" width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tbody>
                      <tr>
                        <td class="padded a65label" valign="top" width="194" align="right"><font class="fieldname_asterisk">*</font><font class="fieldname_required"> Type Name </font> <br>
                          <img src="_admin/clear1x1.gif" width="192" height="3"></td>
                        <td class="padded a65help" valign="top" width="18"><img src="_admin/help_icon.png" name="Image_Help_Options___PriceDiff" id="Image_Help_Options___PriceDiff" onclick="fixedtooltip(this,'Options.PriceDiff','3.1', this, event, '425px','left');" onmouseover="this.style.cursor='pointer'" width="18" border="0" height="18">
                          <div class="imghelp_overlay" onclick="jQuery(this).prev().click()"></div></td>
                        <td colspan="5" class="padded" valign="top"><table width="99%" border="0" cellpadding="0" cellspacing="0">
                            <tbody>
                              <tr>
                                <td width="100%"><input onkeydown="javascript:IESubmitFormOnEnter();" onchange="ShowSave()" onkeyup="ShowSave()" onblur="ProcessFieldUsage(this);" name="PriceDiff" style="width: 200px;" maxlength="50"  value="" type="text"></td>
                                <td style="padding-right: 10px;"></td>
                              </tr>
                            </tbody>
                          </table>
                          <input name="Required.PriceDiff" value="Price Diff" type="hidden">
                          <span id="txtPriceDiff"></span></td>
                      </tr>
                      <tr>
                        <td class="padded a65label" valign="top" width="194" align="right"><font class="fieldname_asterisk">*</font><font class="fieldname_required"> Offset Price </font> <br>
                          <img src="_admin/clear1x1.gif" width="192" height="3"></td>
                        <td class="padded a65help" valign="top" width="18"><img src="_admin/help_icon.png" name="Image_Help_Options___PriceDiff" id="Image_Help_Options___PriceDiff" onclick="fixedtooltip(this,'Options.PriceDiff','3.1', this, event, '425px','left');" onmouseover="this.style.cursor='pointer'" width="18" border="0" height="18">
                          <div class="imghelp_overlay" onclick="jQuery(this).prev().click()"></div></td>
                        <td colspan="5" class="padded" valign="top"><table width="99%" border="0" cellpadding="0" cellspacing="0">
                            <tbody>
                              <tr>
                                <td width="100%"><input onkeydown="javascript:IESubmitFormOnEnter();" onchange="ShowSave()" onkeyup="ShowSave()" onblur="ProcessFieldUsage(this);" name="PriceDiff" style="width: 50px;" maxlength="22" class="textbox_currency" value="0.00" type="text"></td>
                                <td style="padding-right: 10px;"></td>
                              </tr>
                            </tbody>
                          </table>
                          <input name="Required.PriceDiff" value="Price Diff" type="hidden">
                          <span id="txtPriceDiff"></span></td>
                      </tr>
                      <tr>
                        <td class="padded a65label" valign="top" width="194" align="right"><font class="fieldname_optional"> Detail </font> <br>
                          <img src="_admin/clear1x1.gif" width="192" height="3"></td>
                        <td class="padded a65help" valign="top" width="18"><img src="_admin/help_icon.png" name="Image_Help_Options___OptionsDesc_SideNote" id="Image_Help_Options___OptionsDesc_SideNote" onclick="fixedtooltip(this,'Options.OptionsDesc_SideNote','3.1', this, event, '425px','left');" onmouseover="this.style.cursor='pointer'" width="18" border="0" height="18">
                          <div class="imghelp_overlay" onclick="jQuery(this).prev().click()"></div></td>
                        <td colspan="5" class="padded" valign="top"><table width="99%" border="0" cellpadding="0" cellspacing="0">
                            <tbody>
                              <tr>
                                <td width="100%"><table width="100%" cellpadding="0" cellspacing="0">
                                    <tbody>
                                      <tr>
                                        <td width="*"><textarea onchange="ShowSave()" onkeyup="ShowSave()" onblur="ProcessFieldUsage(this);" id="OptionsDesc_SideNote" name="OptionsDesc_SideNote" style="width: 98%;" rows="5" class="textarea_text"></textarea></td>
                                        <td style="text-align: left; vertical-align: top;" width="10px"><a href="javascript:click_minus_regular_area('OptionsDesc_SideNote')"><img src="_admin/icon_minus.gif" border="0"></a><br>
                                          <a href="javascript:click_plus_regular_area('OptionsDesc_SideNote')"><img src="_admin/icon_plus.gif" border="0"></a></td>
                                      </tr>
                                    </tbody>
                                  </table></td>
                              </tr>
                            </tbody>
                          </table>
                          <span id="txtOptionsDesc_SideNote"></span></td>
                      </tr>
                      
                    </tbody>
                  </table>
                  <!--div class="verticalspacer"></div-->
                </div>
              </div>
              <div style="display: none;">
                <input value="update" id="btnupdatechanges" name="submit.update.x" type="submit">
                <input class="radio" name="Save_PlusViewList" id="Save_PlusViewList_E" value="E" checked="checked" type="radio">
                <label for="Save_PlusViewList_E">Save + View Record</label>
                <br>
                <input class="radio" name="Save_PlusViewList" id="Save_PlusViewList_Y" value="Y" type="radio">
                <label for="Save_PlusViewList_Y">Save + View List</label>
                Delete<br>
                <input id="submit.delete" name="submit.delete" value="      Delete      " type="submit">
                <input name="Unique_Edit_SQL_String" value="SELECT * FROM Options WHERE ID = 95" type="hidden">
                <input name="TableViewerPageLink_Options" value="TableViewer.asp?Table=Options&amp;Page=2&amp;RowsPerPage=&amp;SortField=&amp;SortDir=&amp;IsASearch=&amp;QB_ID=&amp;SQL=usp%5FPagedItems+2%2C+25%2C+%27%27%2C+%27%27%2C+%27%27%2C+%27SELECT+Options%2EID%2C+OptionCategories%2EOptionCategoriesDesc%2C+OptionCategories%2EArrangeOptionCategoriesBy%2C+Options%2EOptionCatID%2C+Options%2EOptionsDesc%2C+Options%2EPriceDiff%2C+Options%2ESetupCostDiff%2C+Options%2ERecurringPriceDiff%2C+Options%2EVendorPriceDiff%2C+Options%2EProductWeight%2C+Options%2EValidate%5FErrorMessage%2C+Options%2EValidate%5FOptionCatID%2C+Options%2EValidate%5FOptionID%2C+Options%2EValidate%5FRegExpression%2C+Options%2ETextbox%5FSize%2C+Options%2ETextbox%5FMax%5FLength%2C+Options%2ETextbox%5FRows%2C+Options%2EReplacesOptionID%2C+Options%2EOnly%5FAvailable%5FWith%5FOptionIDs%2C+Options%2ENot%5FAvailable%5FWith%5FOptionIDs%2C+Options%2ENoValue%2C+Options%2EJumpToProductCode%2C+Options%2EIsProductCode%2C+Options%2EIsProductCode%5FQty%2C+Options%2EIsProductPrice%2C+Options%2EFixedShippingCost%2C+Options%2EIsProductQuantity%2C+Options%2EDefaultSelected%2C+Options%2EArrangeOptionsBy%2C+Options%2ELastModBy%2C+Options%2ELastModified+FROM+OptionCategories+WITH%28NOLOCK%29+RIGHT+JOIN+Options+WITH%28NOLOCK%29+ON+OptionCategories%2EID+%3D+Options%2EOptionCatID+ORDER+BY+OptionCategories%2EOptionCategoriesDesc+ASC%2C+Options%2EID+ASC%27" type="hidden">
              </div>
            </form>
            <script type="text/javascript">
var Altered_Field_Defaults = new Array();

function TableViewer_Set_Field_Defaults(Field_Element) {
    var Field_Name = Field_Element.getAttribute('name');
    var Field_Value = Field_Element.value;
    var Field_Wrapper;
    
    if (Field_Element.nodeName.toLowerCase() == 'input' && Field_Element.getAttribute('type').toLowerCase() == 'checkbox') {
        Field_Value = Field_Element.checked;
    }
    if (Field_Element.nodeName.toLowerCase() == 'select') {
        Field_Value = Field_Element.options.selectedIndex;
    }
    if (Field_Element.parentNode.parentNode.parentNode.parentNode.id == 'Main_TableViewer_Table') {
        Field_Wrapper = Field_Element.parentNode;
    }
    else {
        Field_Wrapper = Field_Element.parentNode.parentNode.parentNode.parentNode.parentNode;
    }

    if (!Altered_Field_Defaults[Field_Name]) {
        Altered_Field_Defaults[Field_Name] = {'value' : Field_Value, 'backgroundColor' : Field_Wrapper.style['backgroundColor']};
    }
}

function TableViewer_Mark_Field_Altered(Field_Element) {
    var Field_Name = Field_Element.getAttribute('name');
    var Field_Value = Field_Element.value;
    var Field_Wrapper;

    if (Field_Element.nodeName.toLowerCase() == 'input' && Field_Element.getAttribute('type').toLowerCase() == 'checkbox') {
        Field_Value = Field_Element.checked;
    }
    if (Field_Element.nodeName.toLowerCase() == 'select') {
        Field_Value = Field_Element.options.selectedIndex;
    }

    if (Field_Element.parentNode.parentNode.parentNode.parentNode.id == 'Main_TableViewer_Table') {
        Field_Wrapper = Field_Element.parentNode;
    }
    else {
        //Field_Wrapper = Field_Element.parentNode.parentNode.parentNode.parentNode.parentNode;
        Field_Wrapper = Field_Element.parentNode;
    }

    if (Altered_Field_Defaults[Field_Name]) {
        if (Altered_Field_Defaults[Field_Name].value == Field_Value) {
            Field_Wrapper.style['backgroundColor'] = Altered_Field_Defaults[Field_Name].backgroundColor;
            Field_Element.form.elements['ALTERED.' + Field_Name].value = '';
        }
        else {
            Field_Wrapper.style['backgroundColor'] = '#87A334';//'#FFC511';
            Field_Element.form.elements['ALTERED.' + Field_Name].value = 'Y';
        }
    }
}
var mfa = TableViewer_Mark_Field_Altered; //mfa()
if (document.recalc) {
    AttachEvent(window, 'resize', function(event) {
        try {
            document.recalc(true);
        }
        catch (e) {
        }
    });
}
</script>
            <div id="overlaymaster">
              <div id="confirm_delete" class="a65chromeModal ui-dialog noniframe" style="height: 198px; width: 400px; display: none;">
                <div class="modalDialog_TopLeft"></div>
                <!--Other div tags get put in through jQuery-->
                <div class="modalDialog_Top"></div>
                <div class="modalDialog_TopRight" onclick="toggleOverlay('confirm_delete',false);"></div>
                <div class="modalDialog_Left">
                  <div class="modalDialog_Right">
                    <div class="modalDialog ui-dialog-content">
                      <div id="confirm_delete_scrollingarea">
                        <div id="InventoryControlGridDiv" style="display: none;"> <span id="DeleteConfirmationText_InvControl">Are you sure you want to delete this record?</span>
                          <div class="a65chrome_ImageButtons_CenterWrapper">
                            <div class="a65chrome_ImageButtons Main"> <span class="a65chrome_btn_main save"> <a href="javascript:void(0);" onclick="v$('btnsavechanges.inventorycontrolgrid').click();return false;"><span>Yes, Delete</span></a> </span> <span class="a65chrome_btn_cancel"> <a id="A8" href="javascript:void(0);" class="modal_cancel_link" onclick="toggleOverlay('confirm_delete', false);"><span>Cancel</span></a> </span> </div>
                          </div>
                        </div>
                        <div id="RegularDeleteDiv" style="display: none;"> <span id="DeleteConfirmationText">Are you sure you want to delete this record?</span>
                          <div class="a65chrome_ImageButtons_CenterWrapper">
                            <div class="a65chrome_ImageButtons Main"> <span class="a65chrome_btn_main save"> <a href="javascript:void(0);" onclick="v$('submit.suredelete').click();return false;"><span>Yes, Delete</span></a> </span> <span class="a65chrome_btn_cancel"> <a id="A1" href="javascript:void(0);" class="modal_cancel_link" onclick="toggleOverlay('confirm_delete', false);"><span>Cancel</span></a> </span> </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                <div class="modalDialog_BottomLeft"></div>
                <div class="modalDialog_Bottom"></div>
                <div class="modalDialog_BottomRight"></div>
              </div>
            </div>
            <div id="floatsave" class="wrapper_fixed" style="display: none;">
              <div class="content_fixed">
                <table align="center">
                  <tbody>
                    <tr valign="middle">
                      <td width="150px"><!--

                <a class="button" href="javascript:void(0);" onclick="v$('btnupdatechanges').click();return false;"><div>Update</div></a>

                

                <a class="cancelbutton" href="/admin/AdminDetails_Generic.asp?table=Options&Page=2&ID=95"><div>Cancel</div></a>

                -->
                        <!--<img src="/a/a/i/adminelements/btn_float_update.gif" title="Update" alt="Update" border="0" align="absmiddle" style="cursor:pointer;" onclick="v$('btnupdatechanges').click();return false;" />-->
                        <span class="a65chrome_btn_main save"> <a onclick="v$('btnupdatechanges').click();return false;" href="javascript:void(0);"><span>Save</span></a> </span>
                        <div class="clear"></div></td>
                      <td><a title="Cancel" class="floating_cancel_link" href="/admin/AdminDetails_Generic.asp?table=Options&amp;Page=2&amp;ID=95" style="margin-left: 12px; margin-right: 36px;">Cancel</a>
                        <div class="clear"></div></td>
                      <td><input onblur="ProcessFieldUsage(this);" class="radio" name="groupb" onchange="v$('Save_PlusViewList_E').checked=checked;" value="E" checked="checked" type="radio">
                        <label for="Save_PlusViewList_E">Save + View Record</label>
                        <br>
                        <input onblur="ProcessFieldUsage(this);" class="radio" name="groupb" onchange="v$('Save_PlusViewList_Y').checked=checked;" value="Y" type="radio">
                        <label for="Save_PlusViewList_Y">Save + View List</label>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
            </div>
            <div id="iframe_floatsave" class="wrapper_fixed">
              <div class="content_fixed">
                <iframe src="_admin/empty_003.htm" frameborder="0"></iframe>
              </div>
            </div>
            <script type="text/javascript" src="_admin/Custom_Dropdowns.js"></script>
            <script type="text/javascript">
function checkApplyToAll()
{
    if(document.EditForm)
    {
        if(document.EditForm.ApplyToAll)
        {
            //if its checked, then we need to hide it, otherwise, dont do anything
            if((v$('detail_page_section_2').style.display=="none" || v$('detail_page_section_2').style.display=="block") && document.EditForm.ApplyToAll.checked==true)
            {
                return false;
            }else{
                return true;
            }
            //if(document.EditForm.ApplyToAll.checked==true)
            //    return true;
        }
        return false;
    }
    return false;
}

function checkShipsByItself()
{
    if(document.EditForm)
    {
        if(document.EditForm.Ships_By_Itself)
        {
            //if its checked, then we need to hide it, otherwise, dont do anything
            if(document.EditForm.Ships_By_Itself.checked==true)
                return true;
        }
        
        return false;
    }
    return false;
}

function ApplyToAll_Event() {


    if(document.EditForm)
    {
        if(document.EditForm.ApplyToAll)
        {
            //if its checked, then we need to hide it, otherwise, dont do anything
            if(document.EditForm.ApplyToAll.checked==true){
                //alert('ApplyToAll will show the content area');
                document.getElementById("shippingmethods_sub_detail_page_section_3").style.display="none";
            }else{
                //alert('ApplyToAll will hide the content area');
                document.getElementById("shippingmethods_sub_detail_page_section_3").style.display="block";
            }
        }
    }
    
    
    return true;
    
}

//event wiring for ships by itself
function Ships_By_Itself_Event() {

    if(document.EditForm)
    {
        if(document.getElementsByName("Ships_By_Itself").length > 0)
        {
            //if its checked, then we need to hide it, otherwise, dont do anything
            if(document.getElementsByName("Ships_By_Itself")[0].checked==true){
                //alert('Ships_By_Itself will show the content area');
                document.getElementById("Products_Joined_sub_detail_page_section_10002").style.display="block";
            }else{
                //alert('Ships_By_Itself will hide the content area');
                document.getElementById("Products_Joined_sub_detail_page_section_10002").style.display="none";
            }
        }
    }
    
    return true;
    
}
window.onload = function(){


    if(document.EditForm){
        
        //wire then up here
        //ships by itself
        if (document.getElementsByName("Ships_By_Itself").length > 0) {
            AttachEvent(document.getElementsByName("Ships_By_Itself")[0], 'click', Ships_By_Itself_Event);
            if(document.getElementById("Products_Joined_sub_detail_page_section_10002") != null && (document.getElementById("Products_Joined_sub_detail_page_section_10002").style.display=="block" || document.getElementById("Products_Joined_sub_detail_page_section_10002").style.display=="")){
                if(checkShipsByItself)
                    Ships_By_Itself_Event();
            }
        }
        // Apply To All
        if (document.EditForm.ApplyToAll) {
            AttachEvent(document.EditForm.ApplyToAll, 'click', ApplyToAll_Event);
            if(document.getElementById("shippingmethods_sub_detail_page_section_3").style.display=="block" || document.getElementById("shippingmethods_sub_detail_page_section_3").style.display==""){
                if(checkApplyToAll)
                    ApplyToAll_Event();
            }
        }
    
        vSliderList.add('EditForm').finishedCode(function(){alert('finished!');});

    
    }

}
</script>
          </div>
        </div>
      </div>
    </div>
    <div id="notificationmaster" class="wrapper_fixed" style="display: none;">
      <div style="display: none;" id="notificationpanel" class="content_fixed">
        <script type="text/javascript">
        var adm_notifications_count = 0;
        var adm_show_notifications = false;
        </script>
      </div>
    </div>
    <script type="text/javascript">

if (typeof(adm_show_notifications) == 'boolean') {
    if (!adm_show_notifications) {
        document.getElementById('Notification_Panel_Alert_Icon').style['display'] = 'none';
    }
    else{
        document.getElementById('Notification_Count').innerHTML = adm_notifications_count;
    }
}
</script>
    <script type="text/javascript" src="_admin/notifications.js"></script>
    <script type="text/javascript">
function store_init(event) {
    preloadimages('/a/a/i/loading.gif','/a/a/i/navigation_tabs_small_over.gif');change_focus();Notification_Panel.InitializeDisplayOnLoad();
}
if (document.addEventListener) {
    document.addEventListener('DOMContentLoaded', store_init, false);
}
else {
    document.write('<' + 'script type="text/javascript" defer="defer" onreadystatechange="store_init();"><' + '/script>');
}
//AttachEvent(window, 'load', store_init);
</script>
    <script type="text/javascript">
      var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
      document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
    <script src="_admin/ga.js" type="text/javascript"></script>
    <script type="text/javascript">

var loadTracker;
var pageTracker;
var pageTimeElapse;
var nonPostingItemsTracker;
var KBTracker;
var exitTracker;

try {

    pageTracker = _gat._getTracker("UA-7453698-1");
    pageTracker._trackPageview();
    
    
    
    //load tracker
    loadTracker = pageTracker._createEventTracker("Page Load");
    
    var pageEnd = new Date();
    var pageStop = pageEnd.getTime();
    
    //stored as milliseconds
    pageTimeElapse = pageStop - pageStart; 
    
    loadTracker._trackEvent("Load - Time","/admin/AdminDetails_Generic.asp",pageTimeElapse);
    
    
    //non posting item tracker
    nonPostingItemsTracker = pageTracker._createEventTracker("Non Posting Items");
    //KB article tracker
    KBTracker = pageTracker._createEventTracker("KB Articles Viewed");
    
    //site exit trackers
    exitTracker = pageTracker._createEventTracker("Exit Points");

} catch(err) {
//alert(err.description);
}
</script>
    <div id="span_VolusionInstantHelp" class="wrapper_fixed a65chromeModal ui-dialog noniframe" style="display: none;" align="right">
      <div class="modalDialog_TopLeft"></div>
      <!--Other div tags get put in through jQuery-->
      <div class="modalDialog_Top"></div>
      <div class="modalDialog_TopRight" onclick="ClearHelpTabs('VolusionInstantHelp');"></div>
      <div class="modalDialog_Left">
        <div class="modalDialog_Right">
          <div class="modalDialog ui-dialog-content">
            <div class="content_fixed">
              <div id="xmlcontent">
                <!--<style>

ul.tv {



    margin-left: 10px;



    margin-top: 0px;



    margin-bottom: 0px;



    margin-right: 10px;



    padding: 0px;



    list-style: none;



    border-top: 0px solid #ffffff;



}



ul.tv li {



    list-style: none;

    padding-top: 16px;



    padding-bottom: 17px;



    padding-left: 56px; 



    padding-right: 5px;



    background: url(../a/a/i/tv_icon.gif) no-repeat 1px 6px;



}

ul.related_help {



    margin-left: 1px;



    margin-top: 0px;



    margin-bottom: 0px;



    margin-right: 2px;



    padding: 0px;



    list-style: none;



    border-top: 0px solid #ffffff;



}



ul.related_help li {



    list-style: none;

    padding-top: 1px;



    padding-bottom: 1px;



    padding-left: 5px;



    padding-right: 5px;



}

.related_help a, .related_help a:hover {

    font:12px Arial; color: #996600;

}

.vh1 {

    font:21px Arial; color: #996600; font-weight:bold;

}

.vh2 {

    font:18px Arial; color: #996600; font-weight:bold;

}

.vh3 {

    font: 15px Arial; color: #996600; font-weight:bold;

}

.vh4 {

    font: 13px Arial; color: #996600; font-weight:bold;

}

.ih_doc_table {

    background-color:#ffefb0;

    border-collapse: collapse;

}

.ih_doc_table td {

    padding: 3px;

    border: solid #e7c700 1px;

}

</style>-->
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                  <tbody>
                    <tr>
                      <td valign="top"><a href="http://kb65.volusion.com/edit_sections.asp?SectionName=Options" target="_blank"><img src="_admin/edit-box.gif" style="margin-bottom: 8px; margin-right: 5px;" width="22" border="0" height="11"></a><font class="vh1">Product Options</font>
                        <ul class="tv">
                          <li><a href="#" onclick="window.open('http://support.volusion.com/showvideo/817', 'videoshow', 'toolbar=no,location=no,status=no,menubar=no, resizable=no,scrollbars=no,width=710,height=540,left=250,top=150'); return false;">Product Options (1 of 3): How to Add and Edit Option Categories [1m 25s]</a></li>
                        </ul>
                        <p>This page allows you to create options and assign them&nbsp;to products 
                          within your Volusion store. Product options can take the form of color or size 
                          options (e.g. blue, red, green; small, medium, large) or any other factor that 
                          your customers may be able to select from when choosing the product that they 
                          wish to purchase. </p>
                        <p>The <i>View &amp; Edit Options</i> page enables you to list either 
                          options&nbsp;or option categories. Use the <b>View</b> dropdown to select.</p>
                        <p>Option categories are how options are grouped. For example, red, green and 
                          blue are options. Together they would&nbsp;form a category called "Color". Since 
                          options need to belong to option categories you must create the categories 
                          first.</p>
                        <font class="vh3">Option Categories</font>
                        <p>You can create&nbsp;option categories by clicking on the <b>Add </b>button 
                          near the top of this page. when viewing options categories.&nbsp;You can edit 
                          any existing product option categories&nbsp;by clicking on the option's ID 
                          number.</p>
                        <p>To create an option category, you need to enter an <b>Option Category 
                          Description</b> (for example "color" or "size") and&nbsp;supply a number to 
                          the&nbsp;<b>Arrange Option Categories By</b> field. The higher the number, the 
                          higher&nbsp;the option category is displayed on the products page. These two 
                          fields are mandatory. The other fields in this section are described in <a href="http://support.volusion.com/article/product-options#Part_I" target="_blank"> the Product Options</a> guide.</p>
                        <font class="vh3">Options</font>
                        <p>You can create a product option by clicking on the <b>Add </b>button near the 
                          top of this page when viewing options. You can edit any existing product option 
                          by clicking on the option's ID number. </p>
                        <p>To create an option, you need to select the category option from the <b>Option Cat ID</b> dropdown and enter an <b>Option Description</b>. These two 
                          fields are mandatory. </p>
                        <p>The <i>Advanced Options</i> and <i>Rarely Used Fields</i> bars can be 
                          expanded to display many different options and settings that are used to 
                          configure product options within your store. Click on the tool tip icon next to 
                          each product option setting to learn more about each setting or option or see 
                          the <a href="http://support.volusion.com/article/product-options">Product 
                          Options</a> guide for details of each section.</p>
                        <p>The&nbsp;options you asign to a product are displayed to the customer on the <i>Product&nbsp;</i>page. They can be displayed as a dropdown menus, checkboxes, 
                          radio buttons or even text boxes. </p>
                        <p>To assign an option to a product, enter the product code for a product into 
                          this <b>Apply to Product Code(s)</b> field. When assigning multiple products to 
                          an option, be sure to separate each product using a comma (","). </p>
                        <p>You can also apply an option to a product directly within a product's 
                          settings page using the controls in the <i>Product Options</i> section. </p></td>
                      <td>&nbsp;&nbsp;&nbsp;</td>
                      <td valign="top" align="right"><table class="kbsearch" border="0" cellpadding="0" cellspacing="0">
                          <tbody>
                            <tr>
                              <td class="kbsearchheader">Related Help</td>
                            </tr>
                            <tr>
                              <td class="related_help"><ul class="related_help">
                                  <li><a href="http://support.volusion.com/article/product-options" target="_blank">Product Options</a></li>
                                  <li><a href="http://support.volusion.com/article/products" target="_blank">Films</a></li>
                                </ul>
                                <p><font color="white"><b>Related Videos</b></font></p>
                                <ul class="related_help">
                                  <li><a href="#" onclick="window.open('http://support.volusion.com/showvideo/817', 'videoshow', 'toolbar=no,location=no,status=no,menubar=no, resizable=no,scrollbars=no,width=710,height=540,left=250,top=150'); return false;">1: How to Add and Edit Option Categories</a> </li>
                                  <li><a href="#" onclick="window.open('http://support.volusion.com/showvideo/816', 'videoshow', 'toolbar=no,location=no,status=no,menubar=no, resizable=no,scrollbars=no,width=710,height=540,left=250,top=150'); return false;">2: How to Add and Edit Product Option</a> </li>
                                  <li><a href="#" onclick="window.open('http://support.volusion.com/showvideo/818', 'videoshow', 'toolbar=no,location=no,status=no,menubar=no, resizable=no,scrollbars=no,width=710,height=540,left=250,top=150'); return false;">3: How to Use the Product Option Display and the Track OptionStock Status</a> </li>
                                </ul>
                                Search: <nobr>
                                <input name="s" id="s" onkeypress='if(window.event){if(window.event.keyCode == 13){$("#SearchSubmit").click();}}else{if(event.which == 13){$("#SearchSubmit").click();}}' size="17" type="text">
                                <input name="SearchSubmit" id="SearchSubmit" onclick='window.open("http://support.volusion.com/search/find/" + $("#s").val(), "_blank");' value="go" type="button">
                                </nobr> </td>
                            </tr>
                          </tbody>
                        </table></td>
                    </tr>
                  </tbody>
                </table>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="modalDialog_BottomLeft"></div>
      <div class="modalDialog_Bottom"></div>
      <div class="modalDialog_BottomRight"></div>
    </div>
    <div id="iframe_VolusionInstantHelp" class="wrapper_fixed transparent" style="display: none;" align="right">
      <div class="content_fixed">
        <iframe src="_admin/empty_003.htm" width="0px" frameborder="0" height="0px"></iframe>
      </div>
    </div>
    <div id="fillscreen" class="wrapper_fixed transparent" style="display: none;" align="right">
      <table id="fillscreen_Table" class="transparent" style="visibility: hidden;" width="100%" border="0" cellpadding="0" cellspacing="0" height="100%">
        <tbody>
          <tr valign="middle">
            <td align="center"><iframe id="fillscreen_Iframe" src="_admin/empty_003.htm" frameborder="0"></iframe></td>
          </tr>
        </tbody>
      </table>
    </div>
    <script type="text/javascript" src="_admin/volusion_help_tooltips.js"></script>
    <div id="VolusionHelpToolTip" style="visibility: hidden; width: 500px; position: absolute; padding: 4px; z-index: 1000;"></div>
    <iframe id="DivShim" src="_admin/blank.htm" style="display: none; left: 0px; position: absolute; top: 0px;" frameborder="0" scrolling="no"></iframe>
    <script type="text/javascript">
function ProcessFieldUsage(pageFieldObj){
    try
    {
        if(pageFieldObj.value!=''){
            var urlToUse = "/OPTIONS/EDIT/" + pageFieldObj.name;
            
            pageTracker._trackPageview(urlToUse);
        }
    }catch(err){
        //alert(err.message);
    }
}
</script>
  </div>
  <div id="bg_bottom">
    <div id="bg_bottom_left">
      <div id="bg_bottom_right">
        <div id="bg_bottom_content">
          <div id="bg_bottom_ie"></div>
        </div>
      </div>
    </div>
  </div>
</div>
<!--[if lte IE 6]>

<script type="text/javascript">

window.onresize = qew_ie6_resize;

//qew_ie6_resize();

</script>

<![endif]-->
<div aria-labelledby="ui-dialog-title-modaldialog" role="dialog" tabindex="-1" class="ui-dialog ui-widget ui-widget-content ui-corner-all a65chromeModal" style="display: none; z-index: 1000; outline: 0px none;">
  <div class="modalDialog_TopLeft"></div>
  <div style="-moz-user-select: none;" unselectable="on" class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix"><span style="-moz-user-select: none;" unselectable="on" id="ui-dialog-title-modaldialog" class="ui-dialog-title">Dialog Title</span><a style="-moz-user-select: none;" unselectable="on" role="button" class="ui-dialog-titlebar-close ui-corner-all" href="#"><span style="-moz-user-select: none;" unselectable="on" class="ui-icon ui-icon-closethick">close</span></a></div>
  <div class="modalDialog_Left">
    <div class="modalDialog_Right">
      <div class="modalDialog_IEFix">
        <div class="ui-dialog-content ui-widget-content" style="display: block;" id="modaldialog">
          <iframe id="modaldialogiframe" width="100%" frameborder="0" height="100%" scrolling="no"></iframe>
        </div>
      </div>
    </div>
  </div>
  <div class="modalDialog_BottomLeft"></div>
  <div class="modalDialog_Bottom"></div>
  <div class="modalDialog_BottomRight"></div>
</div>
</body>
</html>
